#include <bits/stdc++.h>
using namespace std;

int main(int argc, char const *argv[])
{
    // 输入距离
    float n;
    cin >> n;

    // 计算骑车要多久
    float bikeTime;
    bikeTime = 27 + 23 + n/3; // 时间 = 距离÷速度

    // 计算走路要多久
    float walkTime;
    walkTime = n/1.2;

    // 判断哪个时间更短
    if(bikeTime < walkTime)
        cout << "Bike" << endl;
    else if(bikeTime > walkTime)
        cout << "Walk" << endl;
    else
        cout << "All" << endl;

    return 0;
}
